async function run($input, $output, $modules = modules) {
    /**获取客户详情
     * 官方api:https://work.weixin.qq.com/api/doc/90000/90135/92114
     * 错误码查询工具：https://open.work.weixin.qq.com/devtool/query?e=
    */
    const wxworkApi = $modules.wxworkApi;

    //获取指定成员的客户
    let getExternalContact = await wxworkApi.request({
        method: "get",
        url: "externalcontact/get",
        params: {
            external_userid: $input.externalUserId
        }
    });
    //转为字符串输出
    $output.externalUser = JSON.stringify(getExternalContact.external_contact);
}